package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduWorkOrder.EduWorkOrderKeyVO;
import com.jwsoft.manager.common.vo.eduWorkOrder.EduWorkOrderQueryVO;
import com.jwsoft.manager.common.vo.eduWorkOrder.EduWorkOrderVO;
import com.jwsoft.manager.common.vo.eduWorkOrderLog.EduWorkOrderLogVO;

/**
 * 工单表业务本地接口
 *
 * @author zhiyuan
 * @since 2023-02-24
 */
public interface EduWorkOrderIntegration {
    /** 分页查询 */
    PageInfo<EduWorkOrderVO> getList(EduWorkOrderQueryVO vo);
    /** 根据主键查询详情 */
    EduWorkOrderVO getById(EduWorkOrderKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduWorkOrderVO vo);
    /** 新增 */
    EduWorkOrderVO add(EduWorkOrderVO vo);
    /** 修改 */
    EduWorkOrderVO edit(EduWorkOrderVO vo);
    /** 根据主键和状态删除 */
    void del(EduWorkOrderKeyVO vo);
    /** 工单处理分页查询 */
    PageInfo<EduWorkOrderVO> getWorkHandleList(EduWorkOrderQueryVO vo);
    /** 工单审核*/
    void WorkOrderProcess(EduWorkOrderVO vo);
    /**工单流转*/
    void workOrderCirculation(EduWorkOrderLogVO vo);

    Integer getWorkNum(EduWorkOrderKeyVO vo);

    void acceptOrder(EduWorkOrderKeyVO vo);

    PageInfo<EduWorkOrderVO> getListSchool(EduWorkOrderQueryVO vo);

    PageInfo<EduWorkOrderVO> gethandleWorkBasicEduDept(EduWorkOrderQueryVO vo);

    PageInfo<EduWorkOrderVO> gethandleWorkSectionChief(EduWorkOrderQueryVO vo);

    PageInfo<EduWorkOrderVO> getWorkOrderAll(EduWorkOrderQueryVO vo);

    PageInfo<EduWorkOrderVO> workSubmitxcck(EduWorkOrderQueryVO vo);
}
